package com.ssky.bean.validator.core.exception;

public class VldException extends  RuntimeException{
    private static final long serialVersionUID = 1L;

    protected String errCode;

    public VldException(String errMsg) {
        this("", errMsg);
    }

    public VldException(String errCode, String errMsg) {
        super(errMsg);
        this.errCode = errCode;
    }


    public String getErrCode() {
        return this.errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

}
